package com.cipe.cmrs.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 
 * @author Incepio
 * 
 */
@Entity
@Table(name = "paymentrequeststatustransitions")
@SuppressWarnings("serial")
public class Paymentrequeststatustransitions extends BaseAuditEntity {

	/**
	 * Attribute statustransitiondesc.
	 */
	private String statustransitiondesc;

	/**
	 * Attribute transitionstepnumber.
	 */
	@Transient
	private Integer transitionstepnumber;

	/**
	 * Attribute paymentstatustype
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "goingtostatus")
	private Paymentstatustype goingtostatus;

	/**
	 * Attribute paymentstatustype
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "startingfromstatus")
	private Paymentstatustype startingfromstatus;

	public String getStatustransitiondesc() {
		return statustransitiondesc;
	}

	public void setStatustransitiondesc(String statustransitiondesc) {
		this.statustransitiondesc = statustransitiondesc;
	}

	public Integer getTransitionstepnumber() {
		return transitionstepnumber;
	}

	public void setTransitionstepnumber(Integer transitionstepnumber) {
		this.transitionstepnumber = transitionstepnumber;
	}

	public Paymentstatustype getGoingtostatus() {
		return goingtostatus;
	}

	public void setGoingtostatus(Paymentstatustype goingtostatus) {
		this.goingtostatus = goingtostatus;
	}

	public Paymentstatustype getStartingfromstatus() {
		return startingfromstatus;
	}

	public void setStartingfromstatus(Paymentstatustype startingfromstatus) {
		this.startingfromstatus = startingfromstatus;
	}

}